calculate
fun calculate(intervals: Array<DateRange>, showAllCategories: Boolean, showZeroes: Boolean): Budget.CalculationResults
fun calculate(intervals: Array<DateRange>, showAllCategories: Boolean, showZeroes: Boolean, rollupUnbudgetedCats: Boolean): Budget.CalculationResults
Compute budgeted and actual values based upon a series of graph intervals, for this budget.
Return
Object containing the budget results, including actual and budgeted values.
Parameters
intervals
Graphing/reporting intervals representing a series of date ranges.
show All Categories
True if all categories, including unbudgeted ones, are to be shown.
show Zeroes
True if budget items with no spending and no budgeted amount are to be included.
fun calculate(startDate: Int, endDate: Int, showAllCategories: Boolean, showZeroes: Boolean): Budget.CalculationResults
Compute budgeted and actual values based upon a single date range, for this budget.
Return
Object containing the budget results, including actual and budgeted values.
Parameters
start Date
Starting date to include.
end Date
Ending date to include.
show All Categories
True if all categories, including unbudgeted ones, are to be shown.
show Zeroes
True if budget items with no spending and no budgeted amount are to be included.